<?
/**
 * <b>AverageRatingDetailsType Class</b>
 * Published 04/11/2010 18:59:27
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('FeedbackRatingDetailCodeType.php');

class AverageRatingDetailsType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var double $Rating
	public $Rating;
	// @var int $RatingCount
	public $RatingCount;
	// @var FeedbackRatingDetailCodeType $RatingDetail
	public $RatingDetail;
 /** End Properties **/

/**
 *
 * @return double
 */
	function getRating(){
		return $this->Rating;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setRating($value){
		$this->Rating = $value;
	}


/**
 *
 * @return int
 */
	function getRatingCount(){
		return $this->RatingCount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setRatingCount($value){
		$this->RatingCount = $value;
	}


/**
 *
 * @return FeedbackRatingDetailCodeType
 */
	function getRatingDetail(){
		return $this->RatingDetail;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setRatingDetail($value){
		$this->RatingDetail = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("AverageRatingDetailsType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"Rating"=>
					array(
						"required"=>false,
						"type"=>"double",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"RatingCount"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"RatingDetail"=>
					array(
						"required"=>false,
						"type"=>"FeedbackRatingDetailCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
